﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EasyMvcBlog.DTO;
using EasyMvcBlog.Domain;

namespace EasyMvcBlog.Service
{
    public class CategoryService
    {
        private static CategoryDomain categoryDomain = new CategoryDomain();

        public static List<CategoryDTO> GetAllCategory()
        {
            return categoryDomain.AllCategory;
        }
    }
}
